package cn.yj.frame.annotation;

import cn.yj.frame.spring.YJRpcServiceScanRegistrar;
import cn.yj.frame.config.BeanConfig;
import cn.yj.register.RegisterConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * RPC启动注解，加载配置类
 * @author 永健
 * @since 2022-01-18 14:58
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({YJRpcServiceScanRegistrar.class, RegisterConfig.class, BeanConfig.class})
public @interface EnableYJRpc { }
